"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../props.cjs"),o=e.defineComponent({name:"ep-cascader",props:t.default,emits:["update:modelValue"],setup(t,{emit:o}){const i=e.computed(()=>t.options.permission>0),r=e.computed({get:()=>t.modelValue,set(e){o("update:modelValue",e)}}),s=e.computed(()=>{if(Array.isArray(t.options.optionItems)){return t.options.optionItems.filter(e=>r.value.includes(e.value)).map(e=>e.label).join(",")}return"--"});return{fieldModel:r,isDetail:i,fieldModelText:s}}});exports.default=o;
